package com.neusoft.neuiotms.dcam.workflow.repository;

import com.neusoft.neuiotms.dcam.workflow.model.ProcessApprove;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ProcessApproveRepository extends JpaRepository<ProcessApprove, Long> {

    ProcessApprove findByWorkOrderNumAndTaskId(String workorderNum, String taskId);

    ProcessApprove findByWorkOrderNum(String workOrderNum);

    void deleteByWorkOrderNum(String workOrderNum);
}
